<?php
namespace app\index\controller;
use think\Controller;
use think\Db;
use think\Request;
class Zhuce extends Controller
{
    
    public function zhuce(){
        return $this->fetch('zhuce');
    }
    //添加
    public function add(){
    	$data = input('post.');
    	$res = DB('user')->insert($data);
    	if ($res) {
    		return $this->success('注册成功','Index/index');
    	}else{
    		return $this->error('注册失败');
    	}
    }
    //展示
    
}